#include <iostream>
#include <string>
#include <sstream>

using namespace std;

int main()
{
    stringstream sstream;
    string strResult;

    int n = 1000;

    sstream << n;
    sstream >> strResult;

    cout << "strResult is: " << strResult << endl;

    return 0;
}
